﻿import RegExpObj from '../../../static/js/regExp.js'
export const formComponents = [
  // 输入框--普通输入框
  {
    type: 'Input',
    name: '单行文本输入框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-danhangwenben',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: '',
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--下拉框单选
  {
    type: 'Select',
    name: '单选下拉框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-xiala',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--下拉框多选
  {
    type: 'MultiSelect',
    name: '多选下拉框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-duoxuankuang',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: null,
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 主从表级联单选框
  {
    type: 'CascadeSelectMS',
    name: '主从表级联单选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-lianjixuanze',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      startMetaName: '', // 起始元数据表名
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 主从表级联多选框
  {
    type: 'Multi_CascadeSelectMS',
    name: '主从表级联多选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-lianjixuanze',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      startMetaName: '', // 起始元数据表名
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 树结构级联单选框
  {
    type: 'CascadeSelectTree',
    name: '树结构级联单选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-shuxuanzeqi',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: '', // 固定排序表达式
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 树结构级联多选框
  {
    type: 'Multi_CascadeSelectTree',
    name: '树结构级联多选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-shuxuanzeqi',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: '', // 固定排序表达式
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 单选按钮
  {
    type: 'RadioButton',
    name: '单选按钮',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-danxuan',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      required: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      isRadioButton: false,
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--CheckBox
  {
    type: 'CheckBox',
    name: '多选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-duoxuankuang',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: null,
      disabled: false,
      placeholder: '请选择',
      required: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      isCheckBoxButton: false,
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--多行文本
  {
    type: 'TextArea',
    name: '多行文本输入框',
    relatedComponents: [],
    icon: 'icon-duohangwenben',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      maxLength: null,
      required: false,
      disabled: false,
      clearable: true,
      pattern: '',
      placeholder: '请输入',
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 开关
  {
    type: 'Switch',
    name: '开关',
    icon: 'icon-38kaiguanguan1',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: false,
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true,
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'showRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--整数输入框
  {
    type: 'IntInput',
    name: '整数输入框',
    icon: 'icon-zhengshu',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      required: false,
      defaultValue: 0,
      min: -Infinity,
      max: Infinity,
      step: 1,
      disabled: false,
      controlsPosition: 'right',
      showLabel: true,
      controlsShow: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'expressionRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--小数输入框
  {
    type: 'DecimalInput',
    name: '小数输入框',
    icon: 'icon-xiaoshu',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      required: false,
      defaultValue: 0,
      min: -Infinity,
      max: Infinity,
      step: 1,
      precision: 2,
      disabled: false,
      controlsPosition: 'right',
      showLabel: true,
      controlsShow: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'expressionRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--货币输入框
  {
    type: 'Money',
    name: '货币输入框',
    icon: 'icon-renminbi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      required: false,
      defaultValue: 0,
      min: -Infinity,
      max: Infinity,
      step: 1,
      precision: 2,
      disabled: false,
      controlsPosition: 'right',
      showLabel: true,
      controlsShow: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'expressionRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--手机号输入框
  {
    type: 'MobileInput',
    name: '手机号输入框',
    icon: 'icon-shoujihao',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.phoneRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--座机号码输入框
  {
    type: 'TelInput',
    name: '座机号码输入框',
    icon: 'icon-zuoji-xian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.tellRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--身份证号码输入框
  {
    type: 'IDInput',
    name: '身份证号输入框',
    icon: 'icon-credentials_icon',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.identityRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--邮箱输入框
  {
    type: 'EmailInput',
    name: '邮箱输入框',
    icon: 'icon-185078emailmailstreamline',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.emailRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 邮政编码
  {
    type: 'PostCodeInput',
    name: '邮政编码输入框',
    icon: 'icon-shuzi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.postRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--IPv4Input
  {
    type: 'IPv4Input',
    name: 'IPv4输入框',
    icon: 'icon-ip',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.ip4RegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--IPv6Input
  {
    type: 'IPv6Input',
    name: 'IPv6输入框',
    icon: 'icon-ip',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.ip6RegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--MACInput
  {
    type: 'MACInput',
    name: 'MAC输入框',
    icon: 'icon-Mac',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.macRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--只读文本输入框
  {
    type: 'ReadonlyInput',
    name: '只读文本输入框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-jinzhixiaoxi',
    relatedComponents: [],
    options: {
      width: '100%',
      showLabel: true,
      defaultValue: '',
      required: false,
      // 隐藏表达式
      hiddenExpress: '',
      isHidden: false
    }
  },
  // 输入框--富文本输入框
  {
    type: 'RichText',
    name: '富文本输入框',
    relatedComponents: [],
    icon: 'icon-fuwenben',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--MD编辑器
  {
    type: 'MD',
    name: 'MD编辑器',
    relatedComponents: [],
    icon: 'icon-buju',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--JSONEditor编辑器
  {
    type: 'JSONEditor',
    name: 'JSON编辑器',
    relatedComponents: [],
    icon: 'icon-json',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--Pop弹窗
  {
    type: 'Pop',
    name: 'Pop单选框',
    relatedComponents: [],
    icon: 'icon-biaoge',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--Pop弹窗
  {
    type: 'MultiPop',
    name: 'Pop多选框',
    relatedComponents: [],
    icon: 'icon-biaoge',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: null,
      required: false,
      disabled: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--地图经纬度
  {
    type: 'MapXY',
    name: '地图经纬度',
    relatedComponents: [],
    icon: 'icon-ditu',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--GIS绘图
  {
    type: 'GIS_Draw_Line',
    name: 'GIS绘图',
    relatedComponents: [],
    icon: 'icon-ditu',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: null,
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--图片位置拾取
  {
    type: 'PicXY',
    name: '图片位置拾取',
    relatedComponents: [],
    icon: 'icon-ditu1',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 日历--时间日期格式
  {
    type: 'Calendar',
    name: '时间日期选择器',
    icon: 'icon-shijianriqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd HH:mm:ss',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--年格式
  {
    type: 'CalendarYear',
    name: '年选择器',
    icon: 'icon-shijianriqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--年月格式
  {
    type: 'CalendarYearMonth',
    name: '年月选择器',
    icon: 'icon-shijianriqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--日期格式
  {
    type: 'CalendarDate',
    name: '日期选择器',
    icon: 'icon-riqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--时间格式
  {
    type: 'CalendarTime',
    name: '时间选择器',
    icon: 'icon-shijian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'HH:mm:ss',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 文件--单个文件
  {
    type: 'File',
    name: '上传单个文件',
    icon: 'icon-xinjianwenjian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 文件--多个文件
  {
    type: 'Files',
    name: '上传多个文件',
    icon: 'icon-shangchuanwenjian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 文件--单个图片
  {
    type: 'Picture',
    name: '上传单个图片',
    icon: 'icon-tupian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 文件--多个图片
  {
    type: 'Pictures',
    name: '上传多个图片',
    icon: 'icon-icons01',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 滑块
  {
    type: 'SlideInput',
    name: '滑块',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-huakuai-',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: 0,
      min: 0,
      max: 10,
      required: false,
      disabled: false,
      pattern: '',
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 评分
  {
    type: 'StarRate',
    name: '五星评分',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-pingfenshoucang-',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: 0,
      allowHalf: false,
      showScore: false,
      showText: false,
      texts: ['极差', '失望', '一般', '满意', '惊喜'],
      iconClasses: ['el-icon-star-on', 'el-icon-star-on', 'el-icon-star-on'],
      voidIcon: 'el-icon-star-off',
      required: false,
      disabled: false,
      pattern: '',
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // video
  {
    type: 'Video',
    name: '视频文件',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-ai23',
    relatedComponents: [],
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  }
]
// 布局元素
export const layoutComponents = [
  {
    type: 'grid',
    name: '栅格布局',
    icon: 'icon-buju',
    relatedComponents: [],
    model: '',
    columns: [
      {
        span: 12,
        isButtonGroup: false,
        list: []
      },
      {
        span: 12,
        isButtonGroup: false,
        list: []
      }
    ],
    options: {
      gutter: 10,
      justify: 'start',
      isHidden: false,
      align: 'top'
    }
  },
  {
    type: 'tabs',
    name: 'Tabs 标签页',
    icon: 'icon-bootstrap_tabs',
    relatedComponents: [],
    model: '',
    tabList: [{
      label: 'tab1',
      list: []
    }],
    options: {
      tabType: 'border-card',
      isHidden: false,
      stretch: false
    }
  }
]
// 其它元素
export const otherComponents = [
  // 按钮
  {
    type: 'button',
    name: '按钮',
    icon: 'icon-anniu',
    relatedComponents: [],
    model: '',
    options: {
      disabled: false,
      events: [],
      textAlign: 'left',
      type: 'primary',
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      dialogInfo: {
        dialogType: '',
        dialogEvent: '',
        dialogUid: ''
      }
    }
  },
  {
    type: 'table',
    name: '表格',
    icon: 'icon-biaoge',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    tableColumn: [
      {
        text: '表头名称',
        indexName: '键名',
        isShow: true,
        sortNum: 1
      }
    ],
    tableData: [],
    totalData: [],
    filterData: [],
    options: {
      stripe: true,
      width: '100%',
      events: [],
      rowEvents: {},
      isHidden: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      border: true
    }
  },
  {
    type: 'table_expand',
    name: '树表格',
    icon: 'icon-biaoge',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    tableColumn: [
      {
        text: '表头名称',
        indexName: '键名',
        isShow: true,
        sortNum: 1
      }
    ],
    tableData: [],
    totalData: [],
    filterData: [],
    options: {
      stripe: true,
      width: '100%',
      events: [],
      rowEvents: {},
      isHidden: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      border: true
    },
    sub_options: {
      metauid: '',
      pmetauid: '', // 存储主表的uid,初始化时,判断和主表的metauid是否一致
      tableColumn: [
        {
          text: '子表头名称',
          indexName: '键名',
          isShow: true,
          sortNum: 1
        }
      ],
      options: {
        stripe: true,
        width: '100%',
        events: [],
        rowEvents: {},
        isHidden: false,
        isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
        border: true,
        showPageInfo: true,
        fixed_filter_express: '', // 固定过滤条件表达式
        fixed_orderby_express: '', // 排序条件表达式
        other_condition_express: '' // 多过滤条件表达式
      }
    }
  },
  {
    type: 'pagination',
    name: '页码',
    icon: 'icon-list',
    relatedComponents: [],
    model: '',
    options: {
      currentPage: 1,
      pageSize: 10,
      isHidden: false,
      totalLength: 0
    }
  },
  {
    type: 'echarts',
    name: 'echarts图表',
    icon: 'icon-jiankongmianban',
    relatedComponents: [],
    model: '',
    options: {
      // 图表类型
      optionType: 'line',
      // 图表所占的高度
      height: 300,
      // 是否显示图表示例
      showLegend: true,
      // 图表示例的展示方向
      legendOrient: 'vertical',
      // 是否显示图表标题
      showTitle: true,
      // 图表标题的名称
      titleText: null,
      // 是否显示X坐标轴
      showXAxis: true,
      // X坐标轴名称
      xAxisName: null,
      // 是否显示y坐标轴
      showYAxis: true,
      // y坐标轴名称
      yAxisName: null,
      // 饼图的半径
      pieRadius: '50%',
      mapMax: 100
    }
  }
]

// 元数据字段对应的ui组件
export const metaUiComponents = {
  // 输入框--普通输入框
  Input: {
    type: 'Input',
    name: '单行文本输入框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-danhangwenben',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: '',
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--下拉框单选
  Select: {
    type: 'Select',
    name: '单选下拉框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-xiala',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--下拉框多选
  MultiSelect: {
    type: 'MultiSelect',
    name: '多选下拉框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-duoxuankuang',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: null,
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 主从表级联单选框
  CascadeSelectMS: {
    type: 'CascadeSelectMS',
    name: '主从表级联单选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-lianjixuanze',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      startMetaName: '', // 起始元数据表名
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 主从表级联多选框
  Multi_CascadeSelectMS: {
    type: 'Multi_CascadeSelectMS',
    name: '主从表级联多选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-lianjixuanze',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: null,
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      startMetaName: '', // 起始元数据表名
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 树结构级联单选框
  CascadeSelectTree: {
    type: 'CascadeSelectTree',
    name: '树结构级联单选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-shuxuanzeqi',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: '', // 固定排序表达式
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 树结构级联多选框
  Multi_CascadeSelectTree: {
    type: 'Multi_CascadeSelectTree',
    name: '树结构级联多选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-shuxuanzeqi',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: null,
      disabled: false,
      clearable: true,
      placeholder: '请选择',
      required: false,
      filterable: true,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: '', // 固定排序表达式
      startLevelColumn: '', // 起始层的栏位名称
      startLevelValue: '', // 起始层的栏位值
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 单选按钮
  RadioButton: {
    type: 'RadioButton',
    name: '单选按钮',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-danxuan',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: '',
      disabled: false,
      required: false,
      remoteOptions: [],
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      props: {
        value: 'value',
        label: 'label'
      },
      isRadioButton: false,
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // CheckBox
  CheckBox: {
    type: 'CheckBox',
    name: '多选框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-duoxuankuang',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: null,
      disabled: false,
      placeholder: '请选择',
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      required: false,
      remoteOptions: [],
      props: {
        value: 'value',
        label: 'label'
      },
      isCheckBoxButton: false,
      remoteFunc: '',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 滑块
  SlideInput: {
    type: 'SlideInput',
    name: '滑块',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-huakuai-',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: 0,
      min: 0,
      max: 10,
      required: false,
      disabled: false,
      pattern: '',
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // 评分
  StarRate: {
    type: 'StarRate',
    name: '五星评分',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-pingfenshoucang-',
    relatedComponents: [],
    options: {
      width: '100%',
      defaultValue: 0,
      allowHalf: false,
      showScore: false,
      showText: false,
      texts: ['极差', '失望', '一般', '满意', '惊喜'],
      iconClasses: ['el-icon-star-on', 'el-icon-star-on', 'el-icon-star-on'],
      voidIcon: 'el-icon-star-off',
      required: false,
      disabled: false,
      pattern: '',
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: ''
    }
  },
  // Video
  Video: {
    type: 'Video',
    name: '视频文件',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-ai23',
    relatedComponents: [],
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 输入框--多行文本
  TextArea: {
    type: 'TextArea',
    name: '多行文本输入框',
    relatedComponents: [],
    icon: 'icon-duohangwenben',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      maxLength: null,
      required: false,
      disabled: false,
      clearable: true,
      pattern: '',
      placeholder: '请输入',
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 开关
  Switch: {
    type: 'Switch',
    name: '开关',
    icon: 'icon-38kaiguanguan1',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: false,
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true,
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'showRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--整数输入框
  IntInput: {
    type: 'IntInput',
    name: '整数输入框',
    icon: 'icon-zhengshu',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      required: false,
      defaultValue: 0,
      min: -Infinity,
      max: Infinity,
      step: 1,
      disabled: false,
      controlsPosition: 'right',
      showLabel: true,
      controlsShow: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'expressionRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--小数输入框
  DecimalInput: {
    type: 'DecimalInput',
    name: '小数输入框',
    icon: 'icon-xiaoshu',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      required: false,
      defaultValue: 0,
      min: -Infinity,
      max: Infinity,
      step: 1,
      precision: 2,
      disabled: false,
      controlsPosition: 'right',
      showLabel: true,
      controlsShow: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'expressionRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--货币输入框
  Money: {
    type: 'Money',
    name: '货币输入框',
    icon: 'icon-renminbi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      required: false,
      defaultValue: 0,
      min: -Infinity,
      max: Infinity,
      step: 1,
      precision: 2,
      disabled: false,
      controlsPosition: 'right',
      showLabel: true,
      controlsShow: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'expressionRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--手机号输入框
  MobileInput: {
    type: 'MobileInput',
    name: '手机号输入框',
    icon: 'icon-shoujihao',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.phoneRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--座机号码输入框
  TelInput: {
    type: 'TelInput',
    name: '座机号码输入框',
    icon: 'icon-zuoji-xian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.tellRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--身份证号码输入框
  IDInput: {
    type: 'IDInput',
    name: '身份证号输入框',
    icon: 'icon-credentials_icon',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.identityRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--邮政编码
  PostCodeInput: {
    type: 'PostCodeInput',
    name: '邮箱输入框',
    icon: 'icon-shuzi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.postRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--邮箱输入框
  EmailInput: {
    type: 'EmailInput',
    name: '邮箱输入框',
    icon: 'icon-185078emailmailstreamline',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.emailRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--IPv4Input
  IPv4Input: {
    type: 'IPv4Input',
    name: 'IPv4输入框',
    icon: 'icon-ip',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.ip4RegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--IPv6Input
  IPv6Input: {
    type: 'IPv6Input',
    name: 'IPv6输入框',
    icon: 'icon-ip',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.ip6RegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--MACInput
  MACInput: {
    type: 'MACInput',
    name: 'MAC输入框',
    icon: 'icon-Mac',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      width: '100%',
      defaultValue: '',
      required: false,
      clearable: true,
      disabled: false,
      maxLength: null,
      pattern: RegExpObj.macRegExp,
      events: [],
      placeholder: '请输入',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为三种，一种是获取后台数据进行结果渲染，一种是进行数值计算，一种是显示和隐藏
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 输入框--只读文本输入框
  ReadonlyInput: {
    type: 'ReadonlyInput',
    name: '只读文本输入框',
    model: '',
    // 元数据的uid
    metauid: '',
    metaname: '',
    reference: '',
    icon: 'icon-jinzhixiaoxi',
    relatedComponents: [],
    options: {
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 输入框--富文本输入框
  RichText: {
    type: 'RichText',
    name: '富文本输入框',
    relatedComponents: [],
    icon: 'icon-fuwenben',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--MD编辑器
  MD: {
    type: 'MD',
    name: 'MD编辑器',
    relatedComponents: [],
    icon: 'icon-buju',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--JSONEditor编辑器
  JSONEditor: {
    type: 'JSONEditor',
    name: 'JSON编辑器',
    relatedComponents: [],
    icon: 'icon-json',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--Pop弹窗
  Pop: {
    type: 'Pop',
    name: 'Pop单选框',
    relatedComponents: [],
    icon: 'icon-biaoge',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--MultiPop弹窗
  MultiPop: {
    type: 'MultiPop',
    name: 'Pop多选框',
    relatedComponents: [],
    icon: 'icon-biaoge',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      fixedOrderbyExpress: null, // 固定排序表达式
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--地图经纬度
  MapXY: {
    type: 'MapXY',
    name: '地图经纬度',
    relatedComponents: [],
    icon: 'icon-ditu',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--GIS绘图
  GIS_Draw_Line: {
    type: 'GIS_Draw_Line',
    name: 'GIS绘图',
    relatedComponents: [],
    icon: 'icon-ditu',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: null,
      required: false,
      disabled: false,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 输入框--图片位置拾取
  PicXY: {
    type: 'PicXY',
    name: '图片位置拾取',
    relatedComponents: [],
    icon: 'icon-ditu1',
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      required: false,
      disabled: false,
      isHidden: false,
      isFilterDeleted: true, // 是否过滤掉逻辑删除的资料
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      showLabel: true
    }
  },
  // 日历--时间日期格式
  Calendar: {
    type: 'Calendar',
    name: '时间日期选择器',
    icon: 'icon-shijianriqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd HH:mm:ss',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--年格式
  CalendarYear: {
    type: 'CalendarYear',
    name: '年选择器',
    icon: 'icon-shijianriqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--年月格式
  CalendarYearMonth: {
    type: 'CalendarYearMonth',
    name: '年月选择器',
    icon: 'icon-shijianriqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--日期格式
  CalendarDate: {
    type: 'CalendarDate',
    name: '日期选择器',
    icon: 'icon-riqi',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'yyyy-MM-dd',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 日历--时间格式
  CalendarTime: {
    type: 'CalendarTime',
    name: '时间选择器',
    icon: 'icon-shijian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      defaultValue: '',
      disabled: false,
      editable: true,
      clearable: true,
      placeholder: '请选择',
      format: 'HH:mm:ss',
      required: false,
      events: [],
      width: '100%',
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      // 联动选项
      linkageOption: {
        isLinkage: false,
        linkageEvents: '',
        // 联动方式分为两种，一种是获取后台数据进行结果渲染，一种是进行数值计算
        linkageType: 'eventRender',
        expressionArray: [],
        inputDic: [],
        outputDic: [],
        linkageElements: [],
        showExpression: [],
        sourceExpression: []
      }
    }
  },
  // 文件--单个文件
  File: {
    type: 'File',
    name: '上传单个文件',
    icon: 'icon-xinjianwenjian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 文件--多个文件
  Files: {
    type: 'Files',
    name: '上传多个文件',
    icon: 'icon-shangchuanwenjian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 文件--单个图片
  Picture: {
    type: 'Picture',
    name: '上传单个图片',
    icon: 'icon-tupian',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  },
  // 文件--多个图片
  Pictures: {
    type: 'Pictures',
    name: '上传多个图片',
    icon: 'icon-icons01',
    relatedComponents: [],
    model: '',
    metauid: '',
    metaname: '',
    reference: '',
    options: {
      disabled: false,
      showLabel: true,
      isHidden: false,
      // 隐藏表达式
      hiddenExpress: '',
      // 只读表达式
      disabledExpress: '',
      required: false,
      defaultValue: null
    }
  }
}
